package com.jxy.homepage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 展示树
 * @TableName j_tree
 */
@TableName(value ="j_tree")
@Data
public class Tree implements Serializable {
    /**
     * 
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 是否启用
     */
    @TableField(value = "ENABLED")
    private Integer enabled;

    /**
     * 环境
     */
    @TableField(value = "ENV_TYPE")
    private Integer envType;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    private String createdTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATED_BY")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME")
    private String updatedTime;

    /**
     * 版本
     */
    @TableField(value = "VERSION")
    private String version;

    /**
     * 节点ID
     */
    @TableField(value = "NODE_ID")
    private String nodeId;

    /**
     * 节点类型
     */
    @TableField(value = "NODE_TYPE")
    private String nodeType;

    /**
     * 节点名称
     */
    @TableField(value = "NODE_NAME")
    private String nodeName;

    /**
     * 节点描述
     */
    @TableField(value = "NODE_DESC")
    private String nodeDesc;

    /**
     * 父节点ID
     */
    @TableField(value = "NODE_PARENT")
    private String nodeParent;

    /**
     * 节点顺序
     */
    @TableField(value = "NODE_SEQ")
    private Integer nodeSeq;

    /**
     * 树类型
     */
    @TableField(value = "TREE_KIND")
    private String treeKind;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}